package com.springboot.service;
import com.springboot.model.DoctorAppointSet;
import com.springboot.model.DoctorInfoForm;

import java.util.ArrayList;

/**
 * 本业务用于医生设置可预约时间模块
 */
public interface DoctorAppointSetService {
    //通过手机号查找医生信息表
    DoctorInfoForm findDoctorByTel(String tel);
    //通过ID查找医生预约表
    ArrayList<DoctorAppointSet> findDoctorAppointById(Integer id);
    //更新医生预约时间表
    int updateDoctorSet(DoctorAppointSet doctorAppointSet);
    //插入数据到医生预约时间表  **insert
    int insertDoctorAppoint(DoctorAppointSet doctorAppoint);

    //查找所有的预约
    ArrayList<DoctorAppointSet> selectAllDoctorOrder();
}
